<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        @font-face {
  font-family: 'icomoon';
  src:  url('fonts/icomoon.eot?3dqy0z');
  src:  url('fonts/icomoon.eot?3dqy0z#iefix') format('embedded-opentype'),
    url('fonts/icomoon.ttf?3dqy0z') format('truetype'),
    url('fonts/icomoon.woff?3dqy0z') format('woff'),
    url('fonts/icomoon.svg?3dqy0z#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}
        .mi {
            position: relative;
            width: 150px;
            height: 50px;
            background-color: #ff5a00;
            margin: 30px 100px;
            text-align: center;
        }
        .mi img {
            position: absolute;
            top: 0;
            left: 50px;
            width: 50px;
            height: 100%;
        }
        .mi span {
            position: absolute;
            top: 15px;
            left: 15px;
            font-family: 'icomoon';
            font-size: 20px;
            color: #ffffff;
        }
        /* .mi:hover {
            width: 50px;
            transition: all 0.7s;
        } */
  .mi:hover img {
      top: 0;
      left: 100px;
      transition: all 0.7s ;
  }
  .mi:hover span {
      top: 15px;
      left: 65px;
      transition: all 0.7s;
  }
        
    </style>
</head>
<body>
    <div class="mi">
            <span></span>
        <img src="images/mi-logo.png" alt="">
    </div>
</body>
</html>